package com.etc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.etc.entity.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    //分页
    public List<User> getUserByPage(@Param("start")int start, @Param("pageSize")int pageSize, @Param("content")String content);
    //统计所有条数
    public int getTotal(@Param("content")String content);
}